package demo6;

class A {
    int a;
    int b;
}

class B extends A{
    int x;

    public void func() {
        super.a = 3;
    }
}

class C extends B{
    public void func2() {
        super.a = 4;
    }
}

public class TestDemo {

    public static void main(String[] args) {

    }
}
